package com.woniu.smart.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author meibing
 * @Description
 * @date 2022/10/29-17:31
 **/
@Data
public class ContractsVO {

    private Integer contractId;  //合同id

    private Integer roomId;  //房间id


    private Integer enterpriseId;   // id

    private String enterpriseName;  //企业名称

    private String roomName; //房间名称

    private Integer buildfloorId; //楼层id

    private String buildfloorName;//楼层名称

    private String buildingName;//楼栋名称

    private String buildingId; //楼栋id

    private String contractAtt;  //合同属性（类别）

    private String contractState;  //合同状态


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractRenewal;  //续签时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractExpire;  //到期时间


    private String contractBy1;  //合同备用1

    private String contractBy2;  //合同备用2

    private String contractBy3;  //合同备用3
}
